﻿using Microsoft.EntityFrameworkCore;
using MQ.Core.Entity.System;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Reflection;
using System.Text;

namespace MQ.Core.Db
{
    public class MqDbContext:DbContext
    {
        public DbSet<CompanyEntity> Company { set; get; }
        public DbSet<UserEntity> User { set; get; }
        public DbSet<DepartmentEntity> Department { set; get; }
        public MqDbContext(DbContextOptions<MqDbContext> options):base(options)
        {

        }
        protected override void OnModelCreating(ModelBuilder builder)
        {
            base.OnModelCreating(builder);
        }
    }
}
